package com.konsung.network;

import android.content.Context;

import com.konsung.bean.MeasureDataBean;
import com.konsung.bean.PatientBean;

import org.xmlpull.v1.XmlPullParserException;

import java.io.IOException;

/**
 * 档案上传服务的接口
 */
public interface BaseUpload {

    /**
     * 根据上传传入的病人和测量记录进行上传
     * @param bean  病人
     * @param context  context
     * @param data  体检数据
     * @throws IOException IOException
     * @throws XmlPullParserException XmlPullParserException
     */
    void uploadPhysicalMeasure(Context context, PatientBean bean,
            MeasureDataBean data) throws IOException, XmlPullParserException;


}
